home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
pctecap.arc
/
LEXINSER.ASM
< prev
next >
Wrap
Assembly Source File
|
1986-03-15
|
384b
|
17 lines
; ROUTINE TO INSERT A WORD IN AN ORDERED LIST OF WORDS
;
lexinsert proc far
;
push ax ; save registers
call lexsearch ; search for match
cmp al,0 ; already there?
je lexinsertexit ; skip if so
call strinsert ; insert the new word
;
lexinsertexit:
pop ax ; restore registers
ret
;
lexinsert endp